// 设置rem
function setRem() {
    let doc = document.documentElement;
    let width = doc.getBoundingClientRect().width;
    let rem = width / 75
    doc.style.fontSize = rem + "px"
}

window.addEventListener("resize",setRem)
